package com.huxiao.config;

import com.huxiao.pojo.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@ComponentScan("com.huxiao.pojo")
@Import(huxiaoConfig.class)

public class huxiaoConfig2 {

    @Bean
    public User user(){
        return new User();
    }
}
